import axios from 'axios'

// 获取验证码的返回值
export interface GetCaptchaResp {
    id: string
    img: string
}

// 获取验证码
export const getCaptcha = () => {
    return axios.post<GetCaptchaResp>('/system/security/captcha')
}
